<template>
    <div class="detail">
        <detail-head :data="headdata"></detail-head>
    </div>
</template>

<script>
import detailHead from '@/components/details/header'
import axios from 'axios'
export default {
    name:'detail',
    components:{detailHead},
    data:function(){
        return{
            headdata:''
        }
    },
    created() {
        var that=this;
        axios.get("../static/json/detail.json").then(function(res){
            that.headdata=res.data.data;
            console.log(res.data.data)
        });
    },
}
</script>

<style>
@import"../assets/css/reset.css";
@import"../assets/css/border.css";
.details{
    position: relative;
}
</style>
